<?php 
session_start();
require_once('Conection_DataBase.php');
mysql_select_db($database_jssue, $jssue);
$VariableIdStudent = $_GET["estud"];
$_SESSION["COdeStudent"] = $VariableIdStudent;
$Querry_recordSet = "select * from cllg_student_assign where FK_STUDENT = '$VariableIdStudent'";
$recordset = mysql_query($Querry_recordSet, $jssue) or die(mysql_error());
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Solvencias</title>
<script type="text/javascript" src="Aplicacion_Java/prototype.js"></script>
<script type="text/javascript">
function carr(){
var a=new Ajax.Updater('NvoMov','BaseSolvencia2.php',{parameters:Form.serialize("form1"), method:'get'});
}
function report12(fe){
	var p="fe="+fe;
	var a=new Ajax.Request('Varvar.php',{parameters:p, method:'get'});
	var URL = "solvencia.php?observ="+$F("observacion");
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=1000,height=500,left = 682.5,top = 412.5');");
}
</script>
<link href="../../../bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="../../../css/ContentStyle.css" rel="stylesheet" type="text/css" />
</head>

<body>
<form id="form1" name="form1" method="post" action="">
  <table width="80%" style="margin-left: 10%" border="0" cellspacing="0" class="">
    <tr>
        <th colspan="2"><legend>Seleccione carrera</legend></th>
    </tr>
    <tr>
      <td colspan="2">
        <label>
        <select name="Cli1" id="Cli1">
          <?PHP while ($rowRecordset=mysql_fetch_assoc($recordset)){?>
          <?php 
		  	$carr = $rowRecordset['FK_CAREER'];
		  	$Querry_recordSet44 = "select * from cllg_career where ID = '$carr'";
			$recordset44 = mysql_query($Querry_recordSet44, $jssue) or die(mysql_error());
			$rowRecordset44=mysql_fetch_assoc($recordset44)
		  ?>
          <option value="<?PHP echo $rowRecordset['ID']?>"><?PHP echo $rowRecordset44['NAME']?></option>
          <?PHP }?>
        </select>
        &nbsp;
        <input name="beliminar" type="button" class="btn btn-info" onclick="javascript:carr()" value="Procesar.."/>
        </label></td>
    </tr>
    <tr>
      <td width="10%" valign="top">Obsevaciones:</td>
      <td width="90%"><textarea name="observacion" cols="20" rows="5" wrap="physical" id="observacion"></textarea></td>
    </tr>
    <tr>
      <td colspan="2" id="NvoMov">&nbsp;</td>
    </tr>
  </table>
</form>
</body>
</html>
